<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader Host: elftosb::BootImage Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader Host
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Host Tools for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classelftosb_1_1_boot_image.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classelftosb_1_1_boot_image-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">elftosb::BootImage Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Abstract base class for all boot image format classes.  
 <a href="classelftosb_1_1_boot_image.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_boot_image_8h_source.html">BootImage.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for elftosb::BootImage:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="classelftosb_1_1_boot_image__inherit__graph.svg" width="182" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aeddebff1301da30a651ee1cdd05abbe2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeddebff1301da30a651ee1cdd05abbe2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelftosb_1_1_boot_image.html#aeddebff1301da30a651ee1cdd05abbe2">BootImage</a> ()</td></tr>
<tr class="memdesc:aeddebff1301da30a651ee1cdd05abbe2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:aeddebff1301da30a651ee1cdd05abbe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b430732e272b586ce7447dc1acce63"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa6b430732e272b586ce7447dc1acce63"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelftosb_1_1_boot_image.html#aa6b430732e272b586ce7447dc1acce63">~BootImage</a> ()</td></tr>
<tr class="memdesc:aa6b430732e272b586ce7447dc1acce63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:aa6b430732e272b586ce7447dc1acce63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad480f6dc3bcafb288c9872a4d68ac136"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad480f6dc3bcafb288c9872a4d68ac136"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelftosb_1_1_boot_image.html#ad480f6dc3bcafb288c9872a4d68ac136">setDriveTag</a> (uint16_t tag)=0</td></tr>
<tr class="memdesc:ad480f6dc3bcafb288c9872a4d68ac136"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify the drive tag to be set in the output file header. <br /></td></tr>
<tr class="separator:ad480f6dc3bcafb288c9872a4d68ac136"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6200d3a2e011c89b1d2ce11831e7d82e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6200d3a2e011c89b1d2ce11831e7d82e"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelftosb_1_1_boot_image.html#a6200d3a2e011c89b1d2ce11831e7d82e">getFileExtension</a> () const  =0</td></tr>
<tr class="memdesc:a6200d3a2e011c89b1d2ce11831e7d82e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string containing the preferred file extension for image format. <br /></td></tr>
<tr class="separator:a6200d3a2e011c89b1d2ce11831e7d82e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5432533735fff9ad3156e6fc5b96981c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5432533735fff9ad3156e6fc5b96981c"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelftosb_1_1_boot_image.html#a5432533735fff9ad3156e6fc5b96981c">writeToStream</a> (std::ostream &amp;stream)=0</td></tr>
<tr class="memdesc:a5432533735fff9ad3156e6fc5b96981c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the boot image to an output stream. <br /></td></tr>
<tr class="separator:a5432533735fff9ad3156e6fc5b96981c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Versions</div></td></tr>
<tr class="memitem:ad0ae93662ca93101963f78828a775bd6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0ae93662ca93101963f78828a775bd6"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setProductVersion</b> (const <a class="el" href="structelftosb_1_1version__t.html">version_t</a> &amp;version)=0</td></tr>
<tr class="separator:ad0ae93662ca93101963f78828a775bd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a4c330c03347071c80726fcbe9bc7b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8a4c330c03347071c80726fcbe9bc7b8"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setComponentVersion</b> (const <a class="el" href="structelftosb_1_1version__t.html">version_t</a> &amp;version)=0</td></tr>
<tr class="separator:a8a4c330c03347071c80726fcbe9bc7b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Abstract base class for all boot image format classes. </p>
<p>Provides virtual methods for all of the common features between different boot image formats. These are the product and component version numbers and the drive tag.</p>
<p>Also provided is the virtual method <a class="el" href="classelftosb_1_1_boot_image.html#a5432533735fff9ad3156e6fc5b96981c" title="Write the boot image to an output stream. ">writeToStream()</a> that lets the caller stream out the boot image without knowing the underlying format type. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_boot_image_8h_source.html">BootImage.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>elftosb</b></li><li class="navelem"><a class="el" href="classelftosb_1_1_boot_image.html">BootImage</a></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:49:51 for Kinetis Bootloader Host by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
